using System.Net.Sockets;

namespace HslCommunication.Core.Net
{
	internal class AsyncStateSend
	{
		/// <summary>
		/// 传输数据的对象
		/// </summary>
		internal Socket WorkSocket
		{
			get;
			set;
		}

		/// <summary>
		/// 发送的数据内容
		/// </summary>
		internal byte[] Content
		{
			get;
			set;
		}

		/// <summary>
		/// 已经发送长度
		/// </summary>
		internal int AlreadySendLength
		{
			get;
			set;
		}

		internal SimpleHybirdLock HybirdLockSend
		{
			get;
			set;
		}

		/// <summary>
		/// 关键字
		/// </summary>
		internal string Key
		{
			get;
			set;
		}

		/// <summary>
		/// 客户端的标识
		/// </summary>
		internal string ClientId
		{
			get;
			set;
		}
	}
}
